package cn.edu.lanqiao.entity;

import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class UserEntity {
	//实体bean对象
		private Integer userid;
		private String  usercode;
		private String userpsw;
		private String sex;
		private Integer age;
		private Integer age2;
		private long tellphone;
		
		//实体bean组合
		private UserContactWays userContactWays;
		
		//组合lst集合对象
		private List<UserContactWays> lstUserContactWays;
		
		//组合map集合
		private Map<String, UserContactWays> mapUserContactWays;
		
		//组合set 集合
		private Set<UserContactWays> setUserContactWays;
		
		
		public Set<UserContactWays> getSetUserContactWays() {
			return setUserContactWays;
		}
		public void setSetUserContactWays(Set<UserContactWays> setUserContactWays) {
			setUserContactWays=new LinkedHashSet<UserContactWays>();
			setUserContactWays.add(new UserContactWays());
			setUserContactWays.add(new UserContactWays());
			this.setUserContactWays = setUserContactWays;
		}
		public Map<String, UserContactWays> getMapUserContactWays() {
			return mapUserContactWays;
		}
		public void setMapUserContactWays(Map<String, UserContactWays> mapUserContactWays) {
			this.mapUserContactWays = mapUserContactWays;
		}
		public List<UserContactWays> getLstUserContactWays() {
			return lstUserContactWays;
		}
		public void setLstUserContactWays(List<UserContactWays> lstUserContactWays) {
			this.lstUserContactWays = lstUserContactWays;
		}
	
		public long getTellphone() {
			return tellphone;
		}
		public void setTellphone(long tellphone) {
			this.tellphone = tellphone;
		}
		
		public UserContactWays getUserContactWays() {
			return userContactWays;
		}
		public void setUserContactWays(UserContactWays userContactWays) {
			this.userContactWays = userContactWays;
		}
		public Integer getAge2() {
			return age2;
		}
		public void setAge2(Integer age2) {
			this.age2 = age2;
		}
		public Integer getUserid() {
			return userid;
		}
		public void setUserid(Integer userid) {
			this.userid = userid;
		}
		public String getUsercode() {
			return usercode;
		}
		public void setUsercode(String usercode) {
			this.usercode = usercode;
		}
		public String getUserpsw() {
			return userpsw;
		}
		public void setUserpsw(String userpsw) {
			this.userpsw = userpsw;
		}
		public String getSex() {
			return sex;
		}
		public void setSex(String sex) {
			this.sex = sex;
		}
		public Integer getAge() {
			return age;
		}
		public void setAge(Integer age) {
			this.age = age;
		}
		@Override
		public String toString() {
			return "UserEntity [userid=" + userid + ", usercode=" + usercode + ", userpsw=" + userpsw + ", sex=" + sex
					+ ", age=" + age + "]";
		}
		
}
